package com.roncoo.course.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.roncoo.course.entity.EduCourse;
import com.roncoo.course.dao.EduCourseDao;
import com.roncoo.course.service.EduCourseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wdf
 * @since 2021-03-26
 */
@Service
public class EduCourseServiceImpl extends ServiceImpl<EduCourseDao, EduCourse> implements EduCourseService {
    @Resource
    private EduCourseDao eduCourseMapper;
    @Override
    public IPage<EduCourse> findAll(Page page, EduCourse eduCourse) {
        return eduCourseMapper.findAll(page,eduCourse);
    }
}
